package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.ChargeStandardsFindDto;
import com.one.group.model.dto.ContractInsertDto;
import com.one.group.model.dto.ContractOneUpdateDto;
import com.one.group.model.dto.ContractQueryDto;
import com.one.group.model.entity.Contract;
import com.one.group.model.entity.ParkingSpace;
import com.one.group.model.vo.ParkingContractListVo;
import com.one.group.model.vo.ParkingContractVo;

import java.util.List;

public interface ContractService extends IService<Contract> {
    List<String> findChargeStandardsByDto(ChargeStandardsFindDto chargeStandardsFindDto);
    List<ParkingContractListVo>findContractByQueryDto(ContractQueryDto contractQueryDto);
    Boolean InsertContractByDto(ContractInsertDto contractInsertDto);
    Boolean updateContractByDto(ContractInsertDto contractInsertDto);
    Boolean DeleteContractById(Long id);
    ParkingContractVo findContractById(Long id);
    ParkingSpace getParkingSpaceByCellId(Long CellId);

    Boolean InsertOneContractByDto(ContractOneUpdateDto contractOneUpdateDto);
}